package com.canaan.business.domain.bill;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.canaan.common.annotation.Excel;
import com.canaan.common.core.domain.BaseEntity;
import com.canaan.common.annotation.TableName;
/**
 * 入库调整单对象 wms_modulation_in_bill
 *
 * @author canaan
 * @date 2025-03-24
 */
@ApiModel(description = "wms_modulation_in_bill")
@TableName("wms_modulation_in_bill")
public class ModulationInBill extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty("${comment}")
    private Long id;

    /** 编号 */
    @Excel(name = "编号")
    @ApiModelProperty("编号")
    private String bizNo;

    /** ERP仓库编号 */
    @Excel(name = "ERP仓库编号")
    @ApiModelProperty("ERP仓库编号")
    private String stockCode;

    /** 货主 */
    @Excel(name = "货主")
    @ApiModelProperty("货主")
    private String owner;

    /** 需求总数量 */
    @Excel(name = "需求总数量")
    @ApiModelProperty("需求总数量")
    private Long totalQty;

    /** 收货数量 */
    @Excel(name = "收货数量")
    @ApiModelProperty("收货数量")
    private Long checkTotalQty;

    /** 库存状态 */
    @Excel(name = "库存状态")
    @ApiModelProperty("库存状态")
    private String stockStatus;

    /** 地址编号 */
    @Excel(name = "地址编号")
    @ApiModelProperty("地址编号")
    private String cellCode;

    /** 单据状态 1新建 2进行中 3已完成 */
    @Excel(name = "单据状态 1新建 2进行中 3已完成")
    @ApiModelProperty("单据状态 1新建 2进行中 3已完成")
    private Integer status;

    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "完成时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("完成时间")
    private Date completeTime;

    /** 地址 */
    @Excel(name = "地址")
    @ApiModelProperty("地址")
    private String address;

    /** 是否删除：1是 0否 */
    @ApiModelProperty("地址")
    private String delFlag;

    /** 查询已完成数据 */
    @ApiModelProperty("查询完成数据")
    private String searchFinish;

    public Long getCheckTotalQty() {
        return checkTotalQty;
    }

    public void setCheckTotalQty(Long checkTotalQty) {
        this.checkTotalQty = checkTotalQty;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBizNo(String bizNo)
    {
        this.bizNo = bizNo;
    }

    public String getBizNo()
    {
        return bizNo;
    }
    public void setStockCode(String stockCode)
    {
        this.stockCode = stockCode;
    }

    public String getStockCode()
    {
        return stockCode;
    }
    public void setOwner(String owner)
    {
        this.owner = owner;
    }

    public String getOwner()
    {
        return owner;
    }
    public void setTotalQty(Long totalQty)
    {
        this.totalQty = totalQty;
    }

    public Long getTotalQty()
    {
        return totalQty;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setCellCode(String cellCode)
    {
        this.cellCode = cellCode;
    }

    public String getCellCode()
    {
        return cellCode;
    }
    public void setStatus(Integer status)
    {
        this.status = status;
    }

    public Integer getStatus()
    {
        return status;
    }
    public void setCompleteTime(Date completeTime)
    {
        this.completeTime = completeTime;
    }

    public Date getCompleteTime()
    {
        return completeTime;
    }
    public void setAddress(String address)
    {
        this.address = address;
    }

    public String getAddress()
    {
        return address;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    public String getSearchFinish() {
        return searchFinish;
    }

    public void setSearchFinish(String searchFinish) {
        this.searchFinish = searchFinish;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("bizNo", getBizNo())
            .append("stockCode", getStockCode())
            .append("owner", getOwner())
            .append("totalQty", getTotalQty())
            .append("stockStatus", getStockStatus())
            .append("cellCode", getCellCode())
            .append("status", getStatus())
            .append("completeTime", getCompleteTime())
            .append("address", getAddress())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("createTime", getCreateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
